package com.uinnova.springboot.exception;


import com.uinnova.springboot.kit.Retkit;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/*
*@author 王刚
*@date 2019-01-14 09:11
*
*/
@RestController
public class ExceptionController {

    @GetMapping(value = "/jail/exception/test")
    public Retkit exceptionTest() {
        int i = 1 / 0;
        return Retkit.ok();
    }
}
